package com.site_assembly.controller;


import com.site_assembly.controller.vo.NoticeVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class RabbitConsumeController {

    @RabbitListener(queues = "notice.queue")
    public void accept(NoticeVo noticeVo){
        log.info("接受平台的通知消息{}",noticeVo);



    }

}
